<xml>
 <ToUserName><![CDATA[{$touser}]]></ToUserName>
 <FromUserName><![CDATA[{$fromuser}]]></FromUserName>
 <CreateTime>{time()}</CreateTime>
 <MsgType><![CDATA[news]]></MsgType>
 <ArticleCount>{count($articles)}</ArticleCount>
 <Articles>
{foreach $articles as $article}
  <item>
    <Title><![CDATA[{$article['title']|default:''}]]></Title>
    <Description><![CDATA[{$article['description']|default:''}]]></Description>
    <PicUrl><![CDATA[{$article['picurl']|default:''}]]></PicUrl>
    <Url><![CDATA[{$article['url']|default:''}]]></Url>
  </item>
{/foreach}
 </Articles>
</xml>